ComponentOne DataGrid for WPF and Silverlight
GroupBy(KeyValuePair<DataGridColumn,DataGridSortDirection>[]) Method

C1.Silverlight.DataGrid Namespace > C1DataGrid Class > GroupBy Method : GroupBy(KeyValuePair<DataGridColumn,DataGridSortDirection>[]) Method
Pairs of columns and group directions.
Groups the data by the specified columns and directions.
Syntax
'Declaration
 
Public Overloads Sub GroupBy( _
   ByVal ParamArray columns() As System.Collections.Generic.KeyValuePair(Of DataGridColumn,DataGridSortDirection) _
) 
public void GroupBy( 
   params System.Collections.Generic.KeyValuePair<DataGridColumn,DataGridSortDirection>[] columns
)

Parameters

columns
Pairs of columns and group directions.
Exceptions
ExceptionDescription
This exception is raised whether the collection view is not ready to execute a group operation.
See Also

Reference

C1DataGrid Class
C1DataGrid Members
Overload List